N=input().split()
for i in range(int(N[0])+int(N[1])):
    print('Wang!',end='')
